#ifndef _FILEMANGEER_H
#define _FILEMANGEER_H
#define MKDIR(path) mkdir(path, S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH)
#include <iostream>
#include <string.h>
#include <fstream>
#include <cstdio>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
using namespace std;
int removeFileAndDirectory(const std::string &path);
int copyFileAndDirectory(const std::string &old_path, const std::string &new_path);
int copyFile(const std::string &old_name, const std::string &new_name);
static bool isDirectory(const std::string &filefodler);
static bool isFile(const std::string &filename);
#endif